#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include "extmem.h"
#include "t2.h"
void writeData2(int rp,int *wp,unsigned char *rblk,unsigned char *w1,int *wf,Buffer *buf);
void joinR_S(Buffer *buf,int RBlkNo,int SBlkNo,int Rlength,int Slength,int wf);